﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using SistemaGPS.NET.Dominio;

namespace SistemaGPS.NET
{
   [ServiceContract]
    public interface IVehiculos
    {
        [OperationContract]
        Vehiculo CrearVehiculo(string placa, int cliente);
        [OperationContract]
        Vehiculo ObtenerVehiculo(int codigo);
        [OperationContract]
        Vehiculo ModificarVehiculo(int codigo, string placa, int cliente);
        [OperationContract]
        void ElminarVehiculo(int codigo);
        [OperationContract]
        List<Vehiculo> ListarVehiculos();
    }
}